package com.myapi.client;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.myapi.client.DAO.PlayerDAO;
import com.myapi.client.DAO.TableDAO;

/**
 * The async counterpart of <code>PokerService</code>.
 */
public interface PokerServiceAsync {
	void greetServer(String input, AsyncCallback callback);

	void notify(String input, AsyncCallback callback);

	void Bet(Double Amout, String id, AsyncCallback<Void> callback);


	void Call(String id, AsyncCallback<Void> callback);

	void Fold(String id, AsyncCallback<Void> callback);

	void leaveTable(String id, AsyncCallback<Void> callback);

	void addMessage(String msg, AsyncCallback<Void> callback);

	
	void update(AsyncCallback<TableDAO> callback);

	void addPlayer(String name, String id, AsyncCallback<String> callback);

	void getInfoPokerOdd(AsyncCallback<Void> callback);

	void getStatistic(PlayerDAO player,
			AsyncCallback<ArrayList<PlayerHandDAO>> callback);
}
